-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specific event page #22
Conversation
Deploying with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le pegue una mirada, a nivel de código solo estos temas ATM.
(Acabo de cachar q estas mockeando algunas cosas... obvia lode graphql...pero en vola fase 2 :P )
Cuando deploye y testie en mi local, cache q en pantallas grandes, los elementos siguen creciendo. El wrapper de la página debería tener un max-width (creo q lo deje en el figma IIRC, 1 seg)
(Al ojo, 1360px...deberíamos darle lo q sea q tailwind tenga por ahi cerca, y padding laterales al contendor 🙏 )
|
||
export type OrganizersTypes = { | ||
title: string; | ||
organizers: Organizer[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En ves de Organizer
( en el componente Attendees, que estamos usando type Attendees
) deberíamos usar los tipos de GraphQl, por si cambian tener menos problemas.
Podríamos referenciar un UserFragment
por ejemplo ...
Igual este mensaje es un poco nitpicky
....sientete libre de ignorar, pero IMO interesante pa pensarlo :)
}, | ||
]; | ||
|
||
export const event = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
en el futuro, deberiamos usar faker
para los fixtures
En este caso. es fixture
un nombre protegido de esta carpeta? onda podemos crear este archivo aca (dentro de /app
digo?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No entendí muy bien la pregunta 😢
name: string; | ||
} | ||
|
||
type EventClass = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Para estos tipos deberiamos usar los de src/api/gql/graphql.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Nos ahorramos que diverjan en lo que cambie la API)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 comentarios. aparte de eso ✅
No description provided.